package model.piezasDeJuego;

import java.awt.Rectangle;

import model.excepciones.ElementoDestruidoException;

public interface Chocable{
	public static int MAX_DUREZA = 5;
	public static int ABSORBEDOR = 6;

	public boolean intersects(Chocable obstaculo);
	public Rectangle intersection(Chocable obstaculo);
	public void chocar(Chocable obstaculo) throws ElementoDestruidoException;
	public Rectangle getBounds();
	public boolean esPagajoso();
	public int getDureza();
	public double getX();
	public double getY();
	public double getAncho();
	public double getAlto();
}
